package com.lay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 支点公司表
 * </p>
 *
 * @author Lay
 * @since 2022-06-09
 */
public class Dept implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 公司编号，主键，唯一
     */
    @TableId(value = "d_id", type = IdType.AUTO)
    private Integer dId;

    /**
     * 公司名称
     */
    private String dName;

    /**
     * 公司电话
     */
    private String dPhone;

    /**
     * 负责人姓名
     */
    private String dOwnername;

    /**
     * 负责人手机
     */
    private String ownermobile;

    /**
     * 所属城市
     */
    private String incity;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 位置经度
     */
    private Double gpslon;

    /**
     * 位置维度
     */
    private Double gpslat;

    /**
     * 备注描述
     */
    private String remark;

    /**
     * 添加日期
     */
    private LocalDateTime addtime;


    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getdPhone() {
        return dPhone;
    }

    public void setdPhone(String dPhone) {
        this.dPhone = dPhone;
    }

    public String getdOwnername() {
        return dOwnername;
    }

    public void setdOwnername(String dOwnername) {
        this.dOwnername = dOwnername;
    }

    public String getOwnermobile() {
        return ownermobile;
    }

    public void setOwnermobile(String ownermobile) {
        this.ownermobile = ownermobile;
    }

    public String getIncity() {
        return incity;
    }

    public void setIncity(String incity) {
        this.incity = incity;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getGpslon() {
        return gpslon;
    }

    public void setGpslon(Double gpslon) {
        this.gpslon = gpslon;
    }

    public Double getGpslat() {
        return gpslat;
    }

    public void setGpslat(Double gpslat) {
        this.gpslat = gpslat;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public LocalDateTime getAddtime() {
        return addtime;
    }

    public void setAddtime(LocalDateTime addtime) {
        this.addtime = addtime;
    }

    @Override
    public String toString() {
        return "Dept{" +
        "dId=" + dId +
        ", dName=" + dName +
        ", dPhone=" + dPhone +
        ", dOwnername=" + dOwnername +
        ", ownermobile=" + ownermobile +
        ", incity=" + incity +
        ", address=" + address +
        ", gpslon=" + gpslon +
        ", gpslat=" + gpslat +
        ", remark=" + remark +
        ", addtime=" + addtime +
        "}";
    }
}
